package com.tuanzi.loan.business.entity.galaxycard;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 银河黑卡卡权益关联 Entity
 * @author JinRuiyang 2018/1/9 15:09:56
 */
@Data
@Entity
@Table(name = "loan_galaxy_card_ref_privilege")
@SuppressWarnings("serial")
@EqualsAndHashCode
public class GalaxyCardRefPrivilege implements Serializable {

    // 主键
    @Id
    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    // 卡类型
    @Column(name = "card_type")
    private Long cardType;

    // 卡类型
    @Column(name = "privilege_id")
    private Long privilegeId;

}
